﻿using My.Admin.Dto.System;
using My.Admin.Dto.User;
using My.Admin.Model;
using My.Admin.Model.System;
using My.Core.DynamicProxy;
using My.Core.Service.IService;

namespace My.Admin.Service.System.IService
{
	public interface ISysRoleService : IBaseService<SysRole>, ITransientAutoInject
	{
		public Task<PagedInfo<SysRole>> Page(PageRoleInput input);
		public Task UpdateRole(UpdateRoleInput input);
		public Task AddRole(AddRoleInput input);
		public Task DeleteRole(DeleteRoleInput input);
		/// <summary>
		/// 获取角色列表
		/// </summary>
		/// <returns></returns>
		public Task<List<RoleOutput>> GetList();
	}
}
